from enum import Enum


# 微信支付
class WeixinPay:
    def __init__(self, number: int) -> None:
        self.number = number


# 支付宝
class AliPay:
    def __init__(self, number: int) -> None:
        self.number = number


# 在线支付
class Credit:
    def __init__(self, number: int, type: str, expireDate) -> None:
        self.number = number
        self.type = type
        self.expireDate = expireDate


# 现金
class Cash:
    def __init__(self, cashTendered: str) -> None:
        self.cashTendered = cashTendered


# 银行卡
class WireTransfer:
    def __init__(self, bankId: str, bankName: str) -> None:
        self.bankId = bankId
        self.bankName = bankName


# 支付方式
class Payment:
    def __init__(self, amount):
        self.amount = amount


# 商品
class Product:
    def __init__(self, title, weight, description):
        self.title = title
        self.weight = weight
        self.description = description

    def getPriceForQuantity(self):
        pass

    def getWeight(self):
        return self.weight


class OrderDetail:
    def __init__(self, quantity):
        self.quantity = quantity

    def calculateSubTotal(self):
        pass

    def calculateWeight(self):
        pass


class Order:
    def __init__(self, createDate, status):
        self.createDate = createDate
        self.status = status


class Customer:
    def __init__(self, name, contact, deliveryAddress, active):
        self.name = name
        self.contact = contact
        self.deliveryAddress = deliveryAddress
        self.active = active
